package com.longteng.diamond.domain;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * Created by Administrator
 * DATE : 2018/7/1
 * TIME : 21:51
 * PROJECT : java-lesson
 * PACKAGE : com.longteng.lesson
 *
 * @author <a href="mailto:taki@qq.com">Administrator</a>
 */
@Data
public class Project extends BaseEntity{
    /**
     * 项目id
     */
    private Integer projectId;
    /**
     * 项目名称
     */
    @NotEmpty(message = "项目名称不能为空")
    @NotNull(message = "项目名称不能为空")
    private String projectName;
    /**
     * 项目公共header
     */
    private String headers;
}
